package com.graduation.rescuematerial.mapper;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.graduation.rescuematerial.pojo.UserCompany;
import com.graduation.rescuematerial.vo.RegisterUserCompanyVo;
import org.apache.ibatis.annotations.Mapper;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author CaiShuangLian
 * @since 2022-04-13
 */
@Mapper
public interface UserCompanyMapper extends BaseMapper<UserCompany> {

    /**
     * 添加用户对应的部门
     * @param userCompany
     * @return
     */
    Integer addUserCompany(UserCompany userCompany);

    int addOne(RegisterUserCompanyVo registerUserCompanyVo);
}
